package com.uzai.console.entity;

import com.uzai.common.entity.BaseEntity;

/**
 * 设备授权明细表
 * 
 * @author liuqi
 * @email sunlightcs@gmail.com
 * @date 2021-12-22 16:28:25
 */
public class DeviceAuthDetail extends BaseEntity {

	private static final long serialVersionUID = 5973221897164338357L;

	/**
	 * 运营商ID
	 */
	private Long merId;
	/**
	 * 设备唯一ID
	 */
	private Long deviceUniqueId;
	/**
	 * 设备ID
	 */
	private String deviceId;
	/**
	 * 设备类型(个人微信(plivate_wechat)、企业微信(enterprise_wechat)、公众号()、小程序())
	 */
	private String deviceType;
	/**
	 * 设备类型Id
	 */
	private Integer deviceTypeId;
	/**
	 * 设备产品编码
	 */
	private String productCode;
	/**
	 * 授权类型(0试用；1按月；2按年)
	 */
	private Integer authType;
	/**
	 * 购买数量(单位月)，按年购买记12个月
	 */
	private Integer quantity;
	/**
	 * 本次购买的授权开始时间
	 */
	private Integer beginTime;
	/**
	 * 本次购买的授权过期时间
	 */
	private Integer expireTime;
	/**
	 * 购买时间、支付时间
	 */
	private Integer payTime;
	/**
	 * 支付方式(0试用；1卡密支付；2支付宝；3微信支付)
	 */
	private Integer payType;
	/**
	 * 卡密支付-具体的卡密
	 */
	private String cardId;
	/**
	 * 交易单号(我们系统生成的)
	 */
	private String tradeno;
	/**
	 * 购买金额(支付金额)
	 */
	private Double amount;
	/**
	 * 单价
	 */
	private Double price;
	/**
	 * 备注
	 */
	private String remark;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getMerId() {
		return merId;
	}

	public void setMerId(Long merId) {
		this.merId = merId;
	}

	public Long getDeviceUniqueId() {
		return deviceUniqueId;
	}

	public void setDeviceUniqueId(Long deviceUniqueId) {
		this.deviceUniqueId = deviceUniqueId;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public Integer getDeviceTypeId() {
		return deviceTypeId;
	}

	public void setDeviceTypeId(Integer deviceTypeId) {
		this.deviceTypeId = deviceTypeId;
	}

	public Integer getAuthType() {
		return authType;
	}

	public void setAuthType(Integer authType) {
		this.authType = authType;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Integer getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Integer beginTime) {
		this.beginTime = beginTime;
	}

	public Integer getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(Integer expireTime) {
		this.expireTime = expireTime;
	}

	public Integer getPayTime() {
		return payTime;
	}

	public void setPayTime(Integer payTime) {
		this.payTime = payTime;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getTradeno() {
		return tradeno;
	}

	public void setTradeno(String tradeno) {
		this.tradeno = tradeno;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
}
